﻿using Kavaa.Core.Data;
using Kavaa.Modules.PortailMedical.Entity;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;

namespace Kavaa.Modules.PortailMedical.Datalayer
{
    internal static class ProprieteDAO
    {


        public static void SavePropriete(int CategorieId,String ProprieteName,String ProprieteValue)
        {
            SqlDaoAdapter.ExecuteNonQuery(ConfigurationCache.DatabaseConnectionString,
              "[dbo].[sp_PortailMedical_SavePropriete]"
          , new List<SqlParameter>() { 
                new SqlParameter("@CategorieId", CategorieId),
                new SqlParameter("@ProprieteName", ProprieteName),
              new SqlParameter("@ProprieteValue", ProprieteValue)
              
               
            });

        }
    }
}
